专利摘要:
A new version of a software is decomposed into successive blocks to be transferred by a block-by-block concentrator device in two phases: a first phase during which said concentrator device performs (S308) the transfer according to an independent sequencing because each block has has been correctly received, and a second phase during which the concentrator device performs (S310) the transfer of each block that has not been correctly received. The new version of the software is thus transferred to electricity meters via a communication network. Each electrical meter stores in a non-volatile memory a context including an indication of each block of the new version of the software that has not been correctly received, and when the transfer of the new version of the software to at least one electric meter is interrupted. , the subsequent resumption of the transfer of the new version of the software to said one or more electric meters is carried out according to the second phase using their respective contexts.
公开号:FR3045181A1
申请号:FR1562197
申请日:2015-12-11
公开日:2017-06-16
发明作者:Ziv Roter;Jeremie Sergi
申请人:Sagemcom Energy and Telecom SAS;
IPC主号:
专利说明:

The present invention relates to the transfer of a new version of a software from a concentrator device to at least one electric meter in an on-line carrier communication subnetwork.
In the context of power supply networks of the AMM ("Automated Meter Management") type, communications are established between smart meters ("smart meters") and a data concentrator device ("smart meters"). data concentrator "), sometimes called base node (" base node ") or coordinator (" coordinator "). This is the case for example in the specifications PRIME ("PoweRline Intelligent Metering Evolution" in English) or G3-PLC. The exchanges between the electricity meters and the data concentrator device are based on power line communications ("PowerLine Communications"). The concentrator device is then the root of the communication network, which has a logical topology in the form of a tree to extend the range of communications. Node devices then serve as relays for other nodes devices of the communication network when the latter can not directly receive information from the root node device.
The 12th edition of the "Bluebook: COSEM Interface Classes and OBIS Object Identification System" published by the DLMS User Association describes a two-phase method for deploying a new version of software, broken down into blocks, to the electrical meters from the concentrator device: a first phase during which the transfer is carried out without retransmission, that is to say without worrying about whether a block is correctly received before moving to the transfer of the next block, and a second phase subsequent to the first phase during which the transfer of each block that has not been correctly received during the first phase is carried out. When the transfer is interrupted for at least one electric meter, for example by disconnection of said one or more electric meters, the transfer resumes later by implementing the first phase. This approach, however, lacks efficiency.
It is then desirable to overcome these drawbacks of the state of the art, and in particular to make it possible to increase the efficiency of the transfer of a new version of a software intended for electric meters in the context of power networks. AMM type electrical in which disconnections of said electric meters can occur. The invention relates to a method of transferring a new version of a software to at least one electric meter in a communication network comprising a server and at least one on-line carrier communication subnetwork, each electrical counter being connecting to the communication network via an on-line powerline communication subnetwork, each online powerline communication subnetwork having a hub device connected to the server, each hub device obtaining the new version of the software from the server and being in charge of transferring the new version of the software into the line carrier communication subnetwork to which said hub device belongs. Since the new version of the software is broken down into successive blocks, the transfer of the new version of the software is performed by each block-by-block concentrator device in two phases: a first phase during which said concentrator device performs the transfer according to a sequencing independent of the fact that each block has been correctly received or not, and a second phase, subsequent to the first phase, during which the concentrator device transfers each block that has not been correctly received by at least one electric meter during the first phase. The method is such that each electrical meter stores in a non-volatile memory a context including an indication of each block of the new version of the software that has not been correctly received, and, when the transfer of the new version of the software to at least an electricity meter is interrupted, the subsequent resumption of the transfer of the new version of the software to said one or more electric meters is carried out according to the second phase using their respective contexts. Thus, by resuming the transfer according to the second phase when an electricity meter disconnection-reconnection occurs, the efficiency of the transfer of the new version of the software is improved, since, thanks to the context saved by each electric meter, only the blocks which have not been correctly received before are transferred. Each electrical meter saving its own context, the management of the possible expiry of each context is facilitated during a possible disconnection of said electricity meter (since the communication network does not know a priori not whether the electricity meter will be actually reconnected).
According to a particular embodiment, the transfer to at least one electric meter is interrupted by disconnection of said one or more electrical meters, and the transfer of the new version of the software to said one or more electrical meters resumes according to the second phase when said counter or meters electrical reconnection, regardless of the communication subnet to which said one or more electricity meters reconnect. Thus, each electric counter saving its own context, context access management is facilitated in the case where said electricity meter is disconnected from a communication subnet to be reconnected to another communication network.
According to a particular embodiment, at the start of the transfer, a flag within the context indicates, associated with each block identified by its sequence number, that said block is considered not correctly received, and each counter correctly receiving a block the indicates by modification of the flag associated with said block.
According to a particular embodiment, the context stores: identification information of the software version that has been received by the relevant electric meter and the size of said version of the software, when all the blocks of said version of the software have been correctly received by said electric meter; identification information of the version of the software that is being transferred and the size of said version of the software, when the transfer is not yet complete. In addition, when the transfer of the new version of the software to at least one electric meter is interrupted, resumption of the transfer of the new version of the software to said electric meter takes place according to the second phase if said information stored in said context correspond to said new version of the software, and if not, a transfer of another version of more recent software is initiated according to the first phase.
According to a particular embodiment, at each block correctly received by an electric meter, said electric meter modifies its context to indicate that said block has been correctly received, and, during said first phase, the transfer of the new version of the software to each electric meter concerned is at the initiative of the concentrator device to which said electric meter is attached. In addition, during the second phase, each concentrator device requires from each relevant electricity meter in the communication subnet to which said concentrator device belongs to provide the context of said electric meter, and transmits on its initiative to each electric meter concerned. each block that has not been correctly received according to the context of said electric meter, and this repeatedly until one of the following conditions is fulfilled: all the blocks are correctly received by said electric meter; and said electric meter is disconnected. The invention also relates to a communication network comprising at least one electric meter, a server and at least one in-line carrier communication subnetwork, each electric meter connecting to the communication network via a said communication sub-network. by line carrier, each power line communication subnetwork comprising a hub device connected to the server, each hub device obtaining from the server a new version of the software to be transferred to at least one said power meter and being in charge to transfer the new version of the software into the line carrier communication subnetwork to which said hub device belongs. Moreover, the new version of the software being broken down into successive blocks, the transfer of the new version of the software is performed by each block-by-block concentrator device in two phases: a first phase during which said concentrator device performs the transfer according to an independent sequencing whether or not each block has been correctly received, and a second phase, subsequent to the first phase, during which the concentrator device transfers each block that has not been correctly received by at least one electric meter during the first phase. phase. The communication network is such that each electricity meter has a non-volatile memory in which said electric meter stores a context including an indication of each block of the new version of the software that has not been correctly received, and, when the transfer of the new version of the software to at least one electric meter is interrupted, the subsequent resumption of transfer of the new version of the software to said one or more electric meters is carried out according to the second phase using their respective contexts.
The characteristics of the invention mentioned above, as well as others, will emerge more clearly on reading the following description of an exemplary embodiment, said description being given in relation to the attached drawings, among which: Fig. 1 schematically illustrates a communication network whose logical topology is in the form of a tree, deployed on a power supply network and in which the invention can be implemented; FIG. 2 schematically illustrates an example of a hardware architecture of a communication device of the communication network of FIG. 1; and - FIG. 3 schematically illustrates a software update algorithm within the communication network of FIG. 1. The invention relates to the transfer of a new version of block-by-block software in two phases: a first phase during which the transfer is carried out without retransmission, that is to say without worrying about whether a block is correctly received before moving to the transfer of the next block, and a second phase subsequent to the first phase during which the transfer of each block that has not been correctly received during the first phase is performed. When the transfer of the new version of the software to at least one electric meter is interrupted, the subsequent resumption of the transfer of the new version of the software to said one or more electricity meters is carried out according to the second phase, that is to say regardless of whether the interruption occurred during the first phase, the second phase, or between the first phase and the second phase. The transfer thus resumes by the transfer of blocks that have not been correctly received (a block not received being a block not correctly received). As detailed below, the invention fits more particularly into an update framework, via a subnetwork of online power line communication, of a software intended to be executed by so-called smart electric meters. ("Smart meters" in English).
Fig. 1 schematically illustrates a communication network 120 comprising at least one communication subnet 121 having a logical topology in the form of a tree deployed on a power supply network and in which the invention can be implemented.
The communication subnet 121 is in the form of a tree of which a particular node device 110, called hub device or base node or coordinator, is the root. The communication subnet 121 is intended to enable a plurality of node devices to be connected to the hub device 110. In the context of FIG. 1, the node devices that the communication subnetwork 121 aims to connect are smart meters ("smart meters" in English). The communication sub-network 121 thus makes it possible to establish powerline communications in order to enable the concentrator device 110 to automatically carry out operations for collecting electricity consumption metering records. , said count being made by the electrical meters vis-à-vis electrical installations that said electrical meters are respectively in charge of supervising, and so that the concentrator device 110 can carry out software update operations with the electric meters of the communication subnetwork 121, as described below in connection with FIG. 3.
The communication sub-network 121 is preferably of the PRIME or G3-PLC type.
The communication network 120 furthermore comprises a server 100 to which the concentrator device 110 is connected via a communication link 122. The communication link 122 is for example of the General Packet Radio Service (GPRS), UMTS ("General Packet Radio Service") type. Universal Mobile Telecommunication System (English), LTE ("Long-Term Evolution" in English), or the Internet. The concentrator device 110 performs, within the communication subnet 121, said collection operations of counting and software update reports on behalf of the server 100. In other words, the concentrator device 110 collects the readings counting with the associated electricity meters (ie the electrical meters of the communication subnet 121) and manages the possible retransmission requirements within the communication subnet 121, then provides said readings to the server 100 for processing; in addition, the concentrator device 110 ensures the software update of the electrical meters which are attached to it, block by block, as described below in relation with FIG. 3.
When the communication network 120 comprises a plurality of communication subnetworks having respective logical topologies in the form of a tree deployed on a power supply network (such as the communication subnet 121), the concentrator device of each sub-network. communication network is thus connected to the server 100 via such a communication link 122. The collection of counting and software update operations are then performed by each concentrator device, within their respective communication subnetwork. , on behalf of the server 100.
Exchange in DLMS / COSEM format ("Device Language Message Specification / Companion Specificartion for Energy Metering"), as described in the normative document IEC 62056-5-3 and in the 12th edition of the "Bluebook: COSEM Interface Classes and OBIS Object Identification System ", edited by the DLMS User Association, are thus preferably used to carry out the counting and software update operations, the software update operations however being in conformity with the behavior described below in relation with FIG. 3.
It is necessary to understand that, in the communication subnet 121, a signal transmitted by a node device is generally not visible at any point in said communication subnetwork. Each signal-sending node device then has a "neighborhood domain", that is, a subset of said communication subnet 121 in which any connected node device can intelligibly receive said signals. . The neighborhood domain corresponds to the range of the transmitted signals, as a function of predetermined transmission parameters (eg power, modulation and coding scheme, etc.) of the signal-sending node device and also as a function of characteristics of the communication channel ( attenuation, noise, impedance ...). Each node device of said communication subnetwork thus has its own neighborhood domain. In order to extend the range of powerline communications online, node devices act as data relay between other node devices and the hub device 110. Such a relay device is called a switch ("switch"). ) in the PRIME specifications, or router in the G3-PLC specifications. Some communications between node devices and the hub device 110 may require several successive data relays. A node device that does not act as a relay is called a terminal device. Such a structure therefore defines attachments of node devices to each other to form the logical topology in the form of a tree, that is to say the hierarchy constituting the communication subnet 121. Each node device of the subnetwork The communication device 121 is thus associated with a hierarchical level, typically corresponding to the quantity of relay devices through which said node device must pass to reach the root of the communication subnet 121, that is to say the concentrator device 110. In addition to the data relay, the relay devices transmit beacons, which enable the node devices attached thereto to synchronize with the communication subnet 121.
Such a tree-shaped communication subnetwork is shown in FIG. 1. A terminal node device 132 is directly attached to the concentrator device 110. Two other node devices 130 and 131 are also directly attached to the concentrator device 110. These two node devices 130 and 131 act as relay devices between the concentrator device 110 and other devices nodes. The node device 130 acts as a relay device between the concentrator device 110 and a node device 133 which, itself, acts as a relay device between the node device 130 and a terminal device 137. The communications between the concentrator device 110 and the terminal device 137 thus pass through two successive relay devices, namely the relay devices 130 and 133. The node device 131 acts as a relay device between the concentrator device 110 and three other nodes devices 134, 135 and 136. The devices nodes 134 and 136 are terminal devices, and the node device 135 acts as a relay device between the node device 131 and two terminal devices 138 and 139. Thus, the node devices 130, 131 and 132 are associated with a hierarchical level of value "0", the node devices 133, 134, 135, 136 are associated with a hierarchical level of value "1", and so on.
A node device that is not attached to the communication network 121 is a disconnected device ("disconnected" in English), such as the node device 140 in FIG. 1.
It should be understood that the logical topology of the communication subnet 121 is not fixed. Fig. 1 represents the logical topology of the communication subnet 121 at a given instant. Due in particular to interference phenomena (such as noise, attenuation, impedance variation, crosstalk, signal collision, etc.), node devices can be disconnected from the communication subnet 121 and then seek to re-register within the communication network 120. The logical topology of the communication subnet 121 at this time is then probably different from the logical topology of the communication subnet 121 before disconnection of said node devices, nodes devices having then been potentially relegated from their relay role, and others were then potentially promoted to act as relays. When they are re-registered in the communication network 120, the communication nodes that have been disconnected from the communication subnet 121 will seek to reconnect to the communication subnet 121 or to another communication subnet of the communication network. communication 120.
Fig. 2 schematically illustrates an example of a hardware architecture of a communication device of the communication network 120, whether it is the server 100 or, within the communication sub-network 121, the concentrator device 110, a relay device or a device terminal.
Consider that FIG. 2 schematically shows the architecture of an electric meter of the communication subnet 121. The electric meter then comprises, connected by a communication bus 210: a processor or CPU ("Central Processing Unit" in English) 201; Random Access Memory (RAM) 202; a ROM (Read Only Memory) 203; a storage unit or a storage medium reader, such as a SD ("Secure Digital") card reader 204 or a HDD ("Hard Disk Drive") hard disk; and, at least one communication interface 205.
When the architecture of FIG. 2 represents an electric meter, said electric meter comprises a communication interface 205 enabling the electric meter to carry out power line communications in line. When the architecture of FIG. 2 represents the server 100, said server 100 comprises a communication interface 205 enabling the server 100 to make communications via the communication link (such as the communication link 122) with each concentrator device (such as the concentrator device 110) of the communication network 120. When the architecture of FIG. 2 represents a concentrator device (such as the concentrator device 110), said concentrator device comprises two communication interfaces 205, one enabling said concentrator device to perform communications via the communication link (such as the communication link 122) which connects said concentrator device to the server 100, and the other enabling said hub device to perform in-line carrier communications with one or more electrical meters.
When the architecture of FIG. 2 represents an electric meter, said electric meter further comprises a non-volatile memory 206 in which said electric meter stores a context, as described below in relation to FIG. 3.
The processor 201 is capable of executing instructions loaded into the RAM 202 from the ROM 203, an external memory (not shown), a storage medium (such as an SD card), or another communication network. When the power meter is turned on, the processor 201 is able to read instructions from RAM 202 and execute them. The same principle applies when the architecture of FIG. 2 represents the server 100 or a concentrator device (such as the concentrator device 110). These instructions form a computer program causing the processor 201 to implement all or part of the behavior described below in relation with FIG. 3.
All or part of the behavior described below in relation to FIG. 3 can be implemented in software form by executing a set of instructions by a programmable machine, for example a DSP ("Digital Signal Processor" in English) or a microcontroller, or be implemented in hardware form by a machine or a component dedicated, for example an FPGA ("Field-Programmable Gathe Array" in English) or an ASIC ("Application-Specific Integrated Circuit" in English).
Fig. 3 schematically illustrates a software update algorithm within the communication network 120. One or more electrical meters are considered.
In a step 301, a software update need check is triggered for at least one electrical counter of the communication network 120. This check can be triggered by the server 100 when the electric meter under consideration registers with the communication network. 120, for example following a disconnection of the communication subnet 121. Such disconnection may be logical (loss of the communication path with the concentrator device to which said electrical meter was attached) or physical (effective stop of said electric meter). This verification can be triggered by the concentrator device 110 when the considered electricity meter reaches the communication subnet 121, for example following a disconnection of the communication network 120. This verification can be triggered by the server 100 when a new version software is available for deployment on at least a portion of the electricity meters of the communication network 120. This verification can be triggered by the concentrator device 110 when a new software version is available for deployment on at least a portion of the electricity meters of the Communication subnetwork 121. In another variant embodiment, the software update need check is triggered by the electric meter in question, for example regularly and / or when the electricity meter in question registers with the network. communication 120.
In a particular embodiment, the concentrator device 110 may voluntarily interrupt the transfer of the new software version, for example to carry out or to perform tasks of greater importance in the communication subnet 121. The verification of the need to implement The software update can then be triggered by the hub device 110 when said tasks are completed. In an alternative embodiment, the software update requirement check can then be triggered by the electric meter under consideration when said electric meter has completed the task entrusted to it by the concentrator device 110.
In a next step 302, information about a version of the software that is available for download is obtained. This information is at least a version identifier and a software size. In section 4.4.6.4 of the 12th edition of the "Bluebook: COSEM Interface Classes and the OBIS Object Identification System" published by the DLMS User Association, this information is designated by the structure image to activate info, whose fields image to activateidentification and image to activate size are parameters corresponding respectively to the credentials of the version of the software that is available for download and the size of the version of the software that is available for download. Each new version of the software is supplied by the server 100 to each concentrator device of the communication network 120, possibly with an indication of which electrical meters of the line carrier communication subnetwork to which said concentrator device belongs are concerned by the setting software update. The step 302 is preferably carried out by the concentrator device 110 by internally consulting which software version (identifier and size) is stored in memory of said concentrator device 110 and made available to the electrical meters of the communication subnet 121. In a variant embodiment, the step 302 is performed by the concentrator device 110 by consulting internally which software version (identifier and size) is stored in memory of said server 100 and made available to said electric meters. In another variant embodiment, the step 302 is performed by each electric counter considered by requesting from the concentrator device 110 or from the server 100 which version of software (identifier and size) is stored in memory of said server 100 and made available to said electric meters.
In a next step 303, information on the last software version partially or completely downloaded to the electric meter under consideration is obtained. This information is for example stored in an image to activate info structure whose image fields Joactivateidentification and image to activate size are parameters respectively corresponding to the identifier of the last version of software partially or completely downloaded to the electricity meter under consideration and the size the latest version of software partially or fully downloaded to the electricity meter under consideration. This information is included in a context stored in non-volatile memory by each electric counter considered from the latest software version partially or fully downloaded to said electric meter. Step 303 is preferably carried out by the concentrator device 110 by requesting from each electrical counter considered which last version of software (identifier and size) has been partially or completely downloaded to said electric meter. In an alternative embodiment, the step 303 is preferably performed by the server 100 by requesting from each electrical counter considered which last version of software (identifier and size) has been partially or completely downloaded to said electric meter. In another variant embodiment, step 303 is performed by each electric meter under consideration by consulting internally which last version of software (identifier and size) has been partially or completely downloaded to said electric meter.
In a next step 304, the information obtained in step 302 and the information obtained in step 303 are compared to check if they correspond to the same software version. If this is the case, a step 305 is performed; otherwise, a step 307 is performed. If the previous transfer had been interrupted, whether voluntarily or not, the transition from step 304 to step 307 means that another more recent software version is available. Step 304 is preferably performed by the concentrator device 110 from the information obtained by said concentrator device 110 in steps 302 and 303. In another variant embodiment, step 304 is performed by the server 100 on the basis of the information obtained. by said server 100 in steps 302 and 303. In another variant embodiment, step 304 is performed by each electric meter considered from the information obtained by said electric meter in steps 302 and 303.
In step 305, it is checked whether the last version of software downloaded to the electric meter under consideration has been completely or partially. Such an indication is part of the context stored in non-volatile memory by said electric meter, via an image transfer status parameter representative of the download progress of the software version identified by the image to activate info parameter. If the last version of software downloaded to the electric meter under consideration has been completely downloaded to the electric meter under consideration, a step 306 is performed; if the last version of software downloaded to the electric meter under consideration has only partially been downloaded to the electric meter under consideration, a step 310 is performed. Step 305 is preferably carried out by the concentrator device 110 by requesting from each respective electric meter to indicate whether the last version of software has been fully downloaded to said electricity meter or if it has been only partially. In an alternative embodiment, the step 305 is performed by the concentrator device 110 by requesting from each electrical meter considered to indicate whether the last version of software has been fully downloaded to said electricity meter or if it has been only partially. In another variant embodiment, the step 305 is performed by each electric meter under consideration internally (in its context stored in non-volatile memory) if the last software version has been fully downloaded to said electric meter or if it was only partially. Step 305 is performed by the same device as steps 302, 303, and 304.
In step 306, the algorithm of FIG. 3 is terminated, the most up-to-date available software version being downloaded to each considered power meter.
In step 307, the software update is triggered and software update parameters being transferred are stored by each considered power meter. In other words, said electrical counter stores in its context in non-volatile memory the image identifier and image size fields of the initial image transfer structure respectively in the image to activate identification and image to activate size fields of the image structure to activateinfo, the image transfer initial image being supplied to said electric meter by the concentrator device of the communication subnet to which said electric meter is connected. In addition, said electric counter stores in its context in non-volatile memory the image transfer status parameter indicating that a software version transfer is in progress. Step 307 is preferably performed by the concentrator device 110 by informing each considered electric counter of said software update parameters. In an alternative embodiment, the step 307 is preferably performed by the server 100 by informing each considered electric counter of said software update parameters. In another variant embodiment, step 307 is performed by each electric meter considered by informing the concentrator device 110 of its desire to download the software version represented by the information obtained in step 302.
The software update parameters are stored in non-volatile memory by the electric meters considered in their respective contexts, which simplifies a possible subsequent resumption of the transfer of the new version of the software. The fact that this information is stored by the electricity meters simplifies the preservation and retrieval of this information; indeed, storing this information on the server 100 causes difficulties in information management, in particular because of the electric meters which can be permanently removed from the communication network 120 and those which are disconnected for a long time from the communication network 120; and storing this information on the hub devices further causes difficulties in managing the electric meters that disconnect from a communication subnet to reconnect later to another communication subnet.
In a next step 308, a first phase (phase I) of transfer of the new version of software available from the server 100 is implemented. During said first transfer phase, the new version of the software is transmitted block by block. The new version of the software is thus broken down into successive blocks. The server 100 provides the new version of the software to each concentrator device of the communication network 120, at least to that of each communication subnet in which there is at least one electric meter to which said new version of the software is intended. The server 100 may also provide each hub device with an indication of all the relevant power meters in the communication subnet to which said hub device belongs. Each said concentrator device is then in charge of propagating, block by block, the new version of the software to each respective electricity meter in the communication subnet of which said concentrator device is the root. The transfer during the first phase (phase I) therefore occurs block after block according to a sequencing independent of whether each block has been correctly received or not by each electric meter concerned. Preferably, the blocks are transferred successively in their order of appearance in the set of blocks forming the new version of the software. It is understood from the foregoing that the transfer during the first phase (phase I) is preferably carried out at the initiative of the concentrator device concerned. Each concentrator device can also know which are the relevant electricity meters in the communication subnet to which said concentrator device belongs by obtaining, from the electricity meters of said communication subnetwork, their respective contexts. The blocks can thus be transmitted in broadcast mode ("broadcast" in English), in point-to-multipoint mode ("multicast" in English) or in point-to-point mode ("unicast" in English) depending on the quantity of electricity meters. concerned.
Interference or crosstalk phenomena can corrupt the reception of certain blocks by one or more electric meters, or even prevent any reception. The electrical meters must therefore check, for each block, if the block has been received without corruption. Each block then preferably comprises a verification code, such as a CRC ("Cyclic Redundancy Checksum" in English) allowing the electric meter having received a block to determine whether said block has been correctly received or not.
Each block has a sequence number, allowing the electric meter having received a block to determine its position within the new version of the software being transferred. Each electrical meter which is intended for the transfer of the new version of the software is thus able to determine which block has been correctly received by said electric meter. At the start of the download, all the blocks are considered not received correctly and a flag in the context stored in volatile memory of the electric meter indicates this status for each block identified by its sequence number. Whenever a block is correctly received, the electric meter modifies this flag for said block to indicate that said block has been correctly received. Thus, although the downloading takes place according to a sequencing that does not take into account the actual reception of said blocks, each electric meter knows, for each block of the new version of the software, whether said block has been correctly downloaded or not. This information is subsequently useful for a second phase of the transfer (hereinafter, step 310) or for resumption of the transfer following an interruption, voluntary or otherwise, of the transfer. At the end of the first phase of the transfer, in a next step 309, each electrical counter for which the new version of the software is intended identifies any blocks that are not correctly received. The second phase of the transfer can then be performed in step 310. The transfer during the second phase (phase II) therefore occurs block after block, but as a function of the blocks not correctly received by each electric meter. The context of each electric meter, as stored in its nonvolatile memory, indicates which blocks have been correctly received by said electric meter and which blocks have possibly not been correctly received. The context is then used in the second phase to determine which blocks are possibly to be transferred from the concentrator device of the communication subnet to which said electrical meter is connected to said electric meter.
In a preferred embodiment, the transfer during the second phase (phase II) is at the initiative of the concentrator device of the communication subnet to which each electric meter concerned belongs. Each concentrator device requires, from each relevant electricity meter in the communication subnet to which said concentrator device belongs, that the context stored by said electric meter be supplied to it. Said concentrator device then determines, for each of these electric meters, which blocks are possibly missing. Said concentrator device then transmits to each of these electrical meters each block that has not yet been correctly received by said electric meter. At each block correctly received during the second phase (phase II), said electric counter modifies the context so that the flag associated with said block reflects that said block has been correctly received.
In an alternative embodiment, the transfer during the second phase (phase II) is initiated by each electric meter concerned. Said electric meter then requires from the concentrator device to which said electric meter is attached each of the blocks that have not yet been correctly received. At each block correctly received during the second phase (phase II), the electric meter modifies the context so that the flag associated with said block reflects that said block has been correctly received.
The transfer of the second phase is repeated until one of the following conditions is fulfilled: all the blocks are correctly received by said respective electric meter; and said relevant electricity meter is disconnected.
In a step 311, each electrical counter having correctly received all the blocks constituting the new version of the software stores in its context in non-volatile memory an indication that the transfer of the new version of the software has been completed. In other words, said electric counter modifies in its non-volatile memory context the image transfer status parameter to indicate that the last version transfer of the software has been completed. Then, step 306 is performed, ending the algorithm of FIG. 3. The version of the software thus transferred can be activated by each electric meter having correctly received all the blocks constituting the new version of the software.
Thus, when step 305 is followed by step 310, the transfer of the new version of the software resumes according to the second phase (phase II) when the electricity meter or meters concerned reconnect, regardless of the sub-network of communication to which the at least one electric meter concerned reconnects. Each electric meter stores in its non-volatile memory its own context, which makes it possible to easily resume the transfer by the blocks not yet correctly received, independently of the communication subnet to which said electric meter reconnects following a disconnection of the communication network 120 .
In an exemplary embodiment, the parameter image transfer status may take one of at least the following values, depending on the progress of the download of the software version on the electric meter under consideration: a value, called image transfer not initiated, indicating that the transfer has not yet been initiated; the image transfer status parameter takes this value when the first phase (phase I) is not yet engaged; a value, called image transfer initiated, indicating that the transfer has been initiated; the image transfer status parameter takes this value when the first phase (phase I) is engaged; and a value, called imagejverification successful, indicating that the transfer has been made and that the software version retrieved by the electric meter concerned has been verified successfully; the image transfer status parameter takes this value in step 311. The set of values that the image transfer status parameter can take can be enriched with values representing intermediate steps for downloading, checking or even activating the image transfer status. software version considered. For example, this set of values can be enriched with the following values: a value, called inilialed verification image, indicating that the verification of the downloaded software version has been initiated; a value, called the Jailed verification image, indicating that the verification of the downloaded software version has been performed and has failed; a value, called image activation initiated, indicating that activation of the downloaded software version has been initiated; a value, called image activation successful, indicating that the downloaded software version has been successfully activated; and a value, called an activationjailed image, indicating that the activation of the downloaded software version has failed.
In case of failure, as potentially indicated by the image transfer status parameter as shown above, the entire procedure may be repeated or a failure indication may be provided to a user via a human-machine interface of the relevant power meter. . Such failure indication may also be provided as a message to the concentrator device of the communication subnet to which the relevant electricity meter belongs.
In a particular embodiment, the version of the transferred software contains a signature or verification code enabling the respective power meter to check the integrity of the software version as received. When the electric meter determines that the software version as received is corrupted, the electric meter erases the received blocks and restores its context as it was before the transfer of this version of the software. This means that the electric counter saves in the non-volatile memory the previous context, before the start of the transfer of a new software version. When the integrity of the received software version is verified, said version of the software can be activated.
权利要求:
Claims (6)
[1" id="c-fr-0001]
1) Method for transferring a new version of software to at least one electric meter (130; 134; 138) in a communication network (120) comprising a server (100) and at least one subnetwork communication (121) by line carrier, each electrical meter connecting to the communication network via a said line carrier communication subnetwork, each line carrier communication subnetwork having a concentrator device (110). ) connected to the server, each hub device obtaining the new version of the software from the server and being in charge of transferring the new version of the software into the online powerline communication subnet to which said hub device belongs, the new version of the software being broken down into successive blocks, the transfer of the new version of the software being performed by each device two-phase block-block concentrator: - a first phase during which said concentrator device performs (S308) the transfer according to an independent sequencing whether each block has been correctly received or not, and - a second phase, subsequent to the first phase during which the concentrator device performs (S310) the transfer of each block that has not been correctly received by at least one electrical counter during the first phase, characterized in that each electrical counter stores in a non-volatile memory a context including an indication of each block of the new version of the software that has not been correctly received, and, when the transfer of the new version of the software to at least one electric meter is interrupted, the subsequent resumption of the transfer of the new version of the software to said one or more electric meters are carried out according to the second phase using their contexts respectively.
[0002]
2) Method according to claim 1, characterized in that the transfer to at least one electric meter is interrupted by disconnection of said one or more electric meters, and the transfer of the new version of the software to said one or more electrical meters resumes according to the second phase when said one or more electricity meters reconnect, regardless of the communication subnet to which said one or more electricity meters reconnect.
[0003]
3) Method according to any one of claims 1 and 2, characterized in that at the start of the transfer, a flag within the context indicates, associated with each block identified by its sequence number, that said block is considered as no correctly received, and each counter receiving a block correctly indicates it by modifying the flag associated with said block.
[0004]
4) Method according to any one of claims 1 to 3, characterized in that the context stores: - identification information of the software version that has been received by the relevant power meter and size of said software version when all blocks of said software version have been correctly received by said power meter; - information identifying the version of the software that is being transferred and the size of said version of the software, when the transfer is not yet completed; and in that, when the transfer of the new version of the software to at least one electric meter is interrupted, resumption of the transfer of the new version of the software to said electric meter takes place according to the second phase if said information stored in said context correspond to said new version of the software, and if not, a transfer of another version of more recent software is initiated according to the first phase.
[0005]
5) Method according to any one of claims 1 to 4, characterized in that, at each block correctly received by an electric meter, said electric meter changes its context to indicate that said block has been correctly received, and in that, during said first phase, the transfer of the new version of the software to each electric meter concerned is initiated by the concentrator device to which said electric meter is attached, and in that, during the second phase, each concentrator device requires from of each relevant electricity meter in the communication subnet to which said concentrator device belongs to provide the context of said electric meter, and transmits on its initiative to each electrical meter concerned each block which has not been correctly received according to the context of said electric meter, and this repeatedly until one of the cond The following is fulfilled: all blocks are correctly received by said electric meter; and - said electric meter is disconnected.
[0006]
6) communication network (120) comprising at least one electric meter (130; 134; 138), a server (100) and at least one communication subnet (121) carrying power lines in line, each electrical meter connecting to the communication network via an on-line powerline communication subnetwork, each online power line communication subnetwork including a hub device (110) connected to the server, each hub device obtaining a new version from the server. the software to be transferred to at least one said electric meter and being in charge of transferring the new version of the software into the line carrier communication subnet in which said concentrator device belongs, the new version of the software being broken down into successive blocks , the transfer of the new version of the software being carried out by each hub device block by block two phases: a first phase during which said concentrator device performs (S308) the transfer according to a sequencing independent of whether each block has been correctly received or not, and a second phase, subsequent to the first phase, during which the device concentrator performs (S310) the transfer of each block that has not been correctly received by at least one electric meter during the first phase, characterized in that each electric meter comprises a non-volatile memory in which said electric meter stores a context including a indication of each block of the new version of the software that has not been correctly received, and, when the transfer of the new version of the software to at least one electric meter is interrupted, the subsequent resumption of the transfer of the new version of the software to said one or more electric meters is carried out according to the second phase using e their respective contexts.
类似技术:
公开号 | 公开日 | 专利标题
EP3182281A1|2017-06-21|Method for transferring a new version of a software program to at least one electric meter via a communication network
EP2456083B1|2014-09-17|System and method for communicating over power lines
EP3122061B1|2018-10-03|Transmission of encrypted data from smart electric meters
EP3167572A1|2017-05-17|Relay residential gateway between a terminal device and a server
EP2894872B1|2016-07-06|Method for scheduling tasks in a power line carrier network
MX2010010616A|2010-12-20|Updating routing and outage information in a communications network.
EP3389232A1|2018-10-17|Method for configuration of message distribution
FR3036906A1|2016-12-02|METHOD FOR OBTAINING AN ONLINE CARRIER CURRENT COMMUNICATION ROUTE.
EP3777102B1|2022-02-09|Data transmission from a management entity to a smart electricity meter
EP3228115B1|2020-04-08|Technique for accessing at least one adminstration server
EP3122006B1|2018-04-18|Method for selecting a parent node device in a tree-shaped communication network
EP3211841B1|2019-06-26|Method for deciding to relay a copy of a route discovery request in a communication network by broadcast
EP3879397A1|2021-09-15|Method for downloading software in a plurality of meters
EP3709672A1|2020-09-16|Offset basic meter for automated management of metering of a power distribution service
WO2019228948A1|2019-12-05|Re-recording method for a smart electric meter
WO2015091290A1|2015-06-25|Method of tracking and maintaining topology of a communication network
WO2018219715A1|2018-12-06|Method for automatically selecting a frequency band
EP3953717A1|2022-02-16|Method for detecting energy consumption fraud in an electricity supply service
FR3091100A1|2020-06-26|COMMUNICATION node IDENTIFICATION process
FR3059115A1|2018-05-25|SYSTEM FOR MANAGING ELECTRIC CONSUMPTION IN AN APPARATUS
FR3067188A1|2018-12-07|DEVICE AND PROGRAM FOR ROUTING PLUG SIGNALS
FR2997207A1|2014-04-25|NODE OF A SERVICE BUS
EP3022974A1|2016-05-25|User equipment offering a duration to be applied to a time delay to be set by equipment of a core network
FR2943872A1|2010-10-01|METHOD FOR TRANSMITTING A SELF-DIAGNOSTIC REQUEST FROM A MULTISERVICE HOUSING TO A SERVER OF A HIGH-SPEED NETWORK AND HOUSING USING SUCH A METHOD
WO2007060364A1|2007-05-31|Method for selecting in a router a route between at least two routes related to a common destination network address
同族专利:
公开号 | 公开日
EP3182281A1|2017-06-21|
FR3045181B1|2018-01-19|
US20170171355A1|2017-06-15|
US10469620B2|2019-11-05|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
US9024780B2|2012-05-04|2015-05-05|Itron, Inc.|Limited data messaging with standards compliance|
HUE037902T2|2003-07-17|2018-09-28|E Distribuzione S P A|Method and system for remote updates of meters for metering the consumption of electricity, water or gas|
US9018939B2|2010-11-23|2015-04-28|Corinex Communications Corporation|System and method for providing power to a power meter connected to a power line|
US9019864B2|2011-02-14|2015-04-28|General Electric Company|System and method of wireless enabled device configuration over an advanced metering infrastructure |
EP3611905A1|2012-05-04|2020-02-19|Itron, Inc.|Efficient firmware update in a narrow bandwidth system|CN108171619A|2017-12-27|2018-06-15|国网浙江省电力公司湖州供电公司|The configuration management-control method and device of intelligent substation equipment|
FR3081642B1|2018-05-28|2020-09-04|Sagemcom Energy & Telecom Sas|PROCESS FOR RECORDING AN INTELLIGENT ELECTRIC METER|
CN109741594B|2018-12-20|2020-09-11|国网北京市电力公司|Configuration method and device for equipment data acquisition|
CN110209433A|2019-04-15|2019-09-06|杭州丰锐智能电气研究院有限公司|A method of identification different model concentrator|
FR3108223B1|2020-03-10|2022-02-11|Sagemcom Energy & Telecom Sas|Method for downloading software into a plurality of meters|
法律状态:
2016-11-21| PLFP| Fee payment|Year of fee payment: 2 |
2017-06-16| PLSC| Publication of the preliminary search report|Effective date: 20170616 |
2017-11-21| PLFP| Fee payment|Year of fee payment: 3 |
2019-11-20| PLFP| Fee payment|Year of fee payment: 5 |
2020-11-20| PLFP| Fee payment|Year of fee payment: 6 |
2021-11-18| PLFP| Fee payment|Year of fee payment: 7 |
优先权:
申请号 | 申请日 | 专利标题
FR1562197A|FR3045181B1|2015-12-11|2015-12-11|METHOD FOR TRANSFERRING A NEW VERSION OF SOFTWARE TO AT LEAST ONE ELECTRIC COUNTER VIA A COMMUNICATION NETWORK|
FR1562197|2015-12-11|FR1562197A| FR3045181B1|2015-12-11|2015-12-11|METHOD FOR TRANSFERRING A NEW VERSION OF SOFTWARE TO AT LEAST ONE ELECTRIC COUNTER VIA A COMMUNICATION NETWORK|
EP16203072.0A| EP3182281A1|2015-12-11|2016-12-09|Method for transferring a new version of a software program to at least one electric meter via a communication network|
US15/375,594| US10469620B2|2015-12-11|2016-12-12|Method for transferring a new software version to at least one electricity meter via a communication network|
[返回顶部]